package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.VisaMaterialDao;
import io.renren.entity.VisaMaterialEntity;
import io.renren.service.VisaMaterialService;



@Service("visaMaterialService")
public class VisaMaterialServiceImpl implements VisaMaterialService {
	@Autowired
	private VisaMaterialDao visaMaterialDao;
	
	@Override
	public VisaMaterialEntity queryObject(Integer id){
		return visaMaterialDao.queryObject(id);
	}
	
	@Override
	public List<VisaMaterialEntity> queryList(Map<String, Object> map){
		return visaMaterialDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return visaMaterialDao.queryTotal(map);
	}
	
	@Override
	public void save(VisaMaterialEntity visaMaterial){
		visaMaterialDao.save(visaMaterial);
	}
	
	@Override
	public void update(VisaMaterialEntity visaMaterial){
		visaMaterialDao.update(visaMaterial);
	}
	
	@Override
	public void delete(Integer id){
		visaMaterialDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		visaMaterialDao.deleteBatch(ids);
	}
	
}
